| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | module.exports = ($, options) => { |
||
| 2 | const rule = options && options.rules && options.rules.strong |
||
| 3 | const threadhold = (rule && rule.threadhold) || 15 |
||
| 4 | const count = $('strong').length |
||
| 5 | return count > threadhold |
||
| 6 | ? `This HTML has more than ${threadhold} <strong> tag` |
||
| 7 | : null |
||
| 8 | } |
||
| 9 |